package com.wei.file.serve.impl;

import com.wei.file.model.RecycleFileModel;
import com.wei.file.serve.FileService;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;

public class LinuxFileService  implements FileService {



    @Override
    public boolean isLink(File file) {
        return Files.isSymbolicLink(Paths.get(file.getPath()));
    }
}
